package com.webchat.ugc.controller.mall.im;

import com.webchat.domain.vo.request.mall.im.MallChatRecommendAnswerReqVO;
import com.webchat.rmi.ugc.mall.im.MallAiBotClient;
import com.webchat.ugc.service.mall.im.MallAiBotService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RestController;
import reactor.core.publisher.Flux;

@RestController
public class MallAiBotController implements MallAiBotClient {



    @Autowired
    private MallAiBotService mallAiBotService;

    @Override
    public Flux<String> recommendAnswers(MallChatRecommendAnswerReqVO chatRecommendAnswerReqVO) {

        return mallAiBotService.recommendAnswers(chatRecommendAnswerReqVO);
    }
}
